import Vue from 'vue'
import VueRouter from 'vue-router'

import center from './routes/center'
import news from './routes/news'
import cinemas from './routes/cinemas'
import films from './routes/films'

Vue.use(VueRouter)

// 定义路由规则表
const routes = [...center,...news,...cinemas,...films]

const router = new VueRouter({
  mode: 'history',
  routes
 
})



export default router
